package com.yeren.hibernate.annotation.test;

import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class Main {
	@SuppressWarnings("deprecation")
	public static void main(String[] args) {
		Configuration config=new Configuration();
		config.configure("hibernate.cfg.xml");
		SessionFactory session= config.buildSessionFactory();
	}
}
